package edu.biwu.vo;

import edu.biwu.po.Product;
import edu.biwu.po.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryVo {
    //封装前端传递过来的相关参数，也可以将来通过vo反馈给页面数据
    private Product product;


    private Student student;

    private List<Integer> snos;

    public QueryVo(Product product) {
        this.product = product;
    }

    public QueryVo(Student student) {
        this.student = student;
    }
    public QueryVo(List<Integer> snos){
        this.snos=snos;
    }
}
